import 'package:flutter/material.dart';
import 'package:industry_net/pages/home/main/models/home_menu.dart';
import 'package:json_annotation/json_annotation.dart';

part 'app_model.g.dart';

@JsonSerializable()
class AppModel {
  AppModel();

  late String title;
  late List<HomeMenuModel> items;
  final GlobalKey key = GlobalKey();

  factory AppModel.fromJson(Map<String, dynamic> json) =>
      _$AppModelFromJson(json);
  Map<String, dynamic> toJson() => _$AppModelToJson(this);
}
